package com.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.blog.domain.DTO.AddArticleDto;
import com.blog.domain.DTO.ArticleListDto;
import com.blog.domain.ResponseResult;
import com.blog.domain.entity.Article;
import com.blog.domain.entity.Menu;
import com.blog.domain.vo.ArticleVo;

import java.util.List;

public interface ArticleService extends IService<Article> {

    ResponseResult hotArticleList();

    ResponseResult articleList(Integer pageNum, Integer pageSize, Long categoryId);

	ResponseResult getArticleDetail(Long id);

	ResponseResult updateViewCount(Long id);

	ResponseResult addArticle(AddArticleDto addArticleDto);

	ResponseResult listArticle(Integer pageNum, Integer pageSize, ArticleListDto articleListDto);

	ResponseResult<ArticleVo> selectArticleDatail(Long id);

	ResponseResult updateArticle(ArticleVo articleVo);

	ResponseResult deleteArticle(List<Long> ids);

}
